@extends('layouts.admin')
@section('style')
@endsection
@section('content')
    <div class="layui-container openframe"  style="width:100%;">
         <table class="layui-table">
             <colgroup>
                 <col width="180px">
                 <col width="">
                 <col width="">
                 <col width="">
             </colgroup>
             <thead>
                <tr>
                    <th>时间</th>
                    <th>评论内容</th>
                    <th>商家</th>
                    <th>商品</th>
                </tr>
             </thead>
             <tbody>
                @foreach($datas as $data)
                    <tr>
                        <td>{{ $data['addtime'] }}</td>
                        <td title="{{ $data['content'] }}">{{ str_limit($data['content'],30) }}</td>
                        <td title="{{ $data['shop_title'] }}"><a href="{{ $data['shop_url'] }}" target="_blank">{{ str_limit($data['shop_title'],30) }}</a></td>
                        <td title="{{ $data['item_title'] }}"><a href="{{ $data['item_url'] }}" target="_blank">{{ str_limit($data['item_title'],30) }}</a></td>
                    </tr>
                @endforeach
             </tbody>
         </table>
    </div>
@endsection
@section('script')
    <script type="text/javascript">
    </script>
@endsection